<?php
namespace app\index\controller;

use think\Controller;

class Index extends Controller {
    public function test(){
        $input=$this->request->post('words');
        return json(['results'=>$input]);
    }
}
